package com.xugou.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private int orderId;
    private Integer clientId;
    private String trideType;
    private String preStartTime;
    private String preArriveTime;
    private String orderProduceTime;
    private Boolean orderIssend;
    private Boolean orderReceive;
    private String consigneeName;
    private String consigneeTel;
    private String destination;
    private String goodsName;
    private String goodsNums;
    private String remark;

    //关联客户
    private Client client;
    //关联运费
    private Cost cost;

    public Order(Integer orderId, Integer clientId, String trideType,
                 String preStartTime, String preArriveTime, String orderProduceTime,
                 Boolean orderIssend, Boolean orderReceive, String consigneeName,
                 String consigneeTel, String destination, String goodsName,
                 String goodsNums, String remark) {
        this.orderId = orderId;
        this.clientId = clientId;
        this.trideType = trideType;
        this.preStartTime = preStartTime;
        this.preArriveTime = preArriveTime;
        this.orderProduceTime = orderProduceTime;
        this.orderIssend = orderIssend;
        this.orderReceive = orderReceive;
        this.consigneeName = consigneeName;
        this.consigneeTel = consigneeTel;
        this.destination = destination;
        this.goodsName = goodsName;
        this.goodsNums = goodsNums;
        this.remark = remark;
    }
}
